﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using Cosoware.Web.HttpModules;

public partial class ThemeSelector : System.Web.UI.UserControl
{
    protected void SetTheme(object sender, EventArgs e)
    {
        ThemeManagementModule.SetTheme(((LinkButton)sender).Text);
        Response.Redirect(Request.Url.OriginalString, true);
    }
}
